<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

		<div id="panel-oa-infrastructure" data-options="border:false;width:100%">
			<div class="well well-small" style="margin-left: 5px;margin-top: 5px">

				<p>
					<span class="badge">提示</span>
					点击工具栏
					<strong>
						<font color="red">查询条件</font>
					</strong>
					可根据需要设置数据查询及过滤条件,条件设置完成后点击工具栏
					<Strong>
						<font color="red">执行查询</font>
					</strong>
						按钮，可查看查询结果
				</p>
			</div>
			<div class="condition easyui-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
				<form class="condition-form">
					<fieldset>
						<table>
							<tr>
								<th>事项状态</th>
								<td>
									<input name="flow_state" id="flow_state" type="text"
										class="easyui-textbox easyui-validatebox" style="width:200px" />
								</td>
								<th>填表时间</th>
								<td>
									<input name="apply_date" id="apply_date"
										class="easyui-datebox easyui-validatebox" style="width:200px" />
								</td>
							</tr>
							<tr>
								<th>发起单位</th>
								<td>
									<input name="apply_deptname" id="apply_deptname" type="text"
										class="easyui-textbox easyui-validatebox" style="width:200px" />
								</td>
								<th>发起人</th>
								<td>
									<input id="apply_name" name="apply_name" type="text"
										class="easyui-textbox easyui-validatebox" style="width:200px" />
								</td>
							</tr>

						</table>
					</fieldset>
				</form>
			</div>
			<div class="search-mm">

				<div name="bizno_like">质询编号</div>
				<div name="inquiry_item_like">事项类别</div>
				<div name="inquiry_item_sub_like">事项类型</div>
				<div name="decide_result_like">裁决意见</div>
				<div name="affirm_result_like">认定意见</div>
				<!--<div name="sqsj">申请时间</div> -->
			</div>
			<div class="tb-list" style="padding:2px 0">
				<table cellpadding="0" cellspacing="0">
					<tr>
						<td style="padding-left:2px" class="list-btn">

						</td>
						<td style="padding-left:2px">
							<input class="searchbox" type="text" />
							<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn"
								plain="true">查询条件</a>
							<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn"
								iconCls="icon-search" plain="true">执行查询</a>
						</td>
					</tr>
				</table>
			</div>
			<table class="easyui-datagrid dg-list"
				data-options="rownumbers:true,
		animate: true,						
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',						
		fitColumns: true,
		checkOnSelect:true,
		selectOnCheck:true" ,
				rowStyler: function ( index , row ) if ( row.flowStatus &
				row.flowStatus==2){ return ' background-color:red ;>

				<thead>
					<tr>
						<th field="ck" checkbox="true"></th>
						<th field="name" width="60" align="center">具体事项</th>
						<th field="apply_date" width="60" align="center">填表日期</th>
						<th field="apply_deptname" width="60" align="center">发起单位</th>
						<th field="apply_name" width="60" align="center">申请人</th>
						<th field="directLeader_content" width="60" align="center">科室主管领导审核</th>
						<th field="biz_content" width="60" align="center">基建办审核</th>

						<th field="chargeLeader_content" width="60" align="center">项目分管领导审核</th>
						<th field="flowState" width="60" align="center">当前环节</th>	
					</tr>
				</thead>

			</table>

			
		</div>


		<script>
			requirejs(['listPageModule','oaInfrastructure','domReady!'],function(flowedit,oaInfrastructure,doc){
			flowedit.init({doc:doc,
			rootId:'panel-oa-infrastructure',
			subSystemCode:'sysman',
			moduleCode:'oaInfrastructure',
			editWindow:'oa-infrastructure-win',
			initQueryParams:{flowtype:'0'},
			querylistUrl:'getTaskListDomain',
			onWindowClose:oaInfrastructure.closeWindow,
			initElement:oaInfrastructure.initList,
			rowDblClick:oaInfrastructure.rowDblClick});
			});
		</script>